import { uploadFile, getPages } from '@/utils/request';

export const uploadCourse = (file: FormData) => uploadFile('/course/upload', file);

export const getCourse = () => getPages('/course')

export const getLeader = () => getPages('/leader')
